package cn.janus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author janus
 * @since 2024-07-30
 */
@ApiModel(value = "User对象", description = "")
@Data
public class Users implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "user_id")
    private String id;
    private String name;

    private String password;


    @Override
    public String toString() {
        return "User{" +
                "id = " + id +
                ", name = " + name +
                ", password = " + password +
                "}";
    }
}
